Crontab with a minute delay

December 28, 2009 · 65 views · 0 comments

Crontab with a minute delay
taken by : Dedric Mauriac on Woodbridge (10, 4, 98)
blog HUD!
Online
Online
Online

About

I started to look into a way to get a php script to execute on a timed event. I found that crontab is used for this purpose. I can have quite a bit of control over it to run ever minute, hour, day, etc. It doesn't give fine control allowing me to run during specific seconds though. My commands in the queue may end up waiting for a minute before they are actually executed. When there is only a few commands in the queue, this is unacceptable. Why wait when you can do it now? I wonder if there is another approach to this to run every 15 seconds. From Dedric Mauriac via bloghud.com